.slate-ssml-editor-container.tts-preview-container
  [class^='cus-slate-section']::after {
  content: '';
  background: #c7ccd6;
  border-radius: 6px;
  color: #1664ff;
  display: inline-block;
  height: 6px;
  position: absolute;
  vertical-align: super;
  width: 6px;
  left: -14px;
  top: calc(50% - 3px);
}
.slate-ssml-editor-container.tts-preview-container {
  position: relative;
}
.slate-ssml-editor-container.tts-preview-container
  .slate-ssml-editor {
  padding-left: 28px;
}
.slate-ssml-editor-container.tts-preview-container
  [class^='cus-slate-section'] {
  position: relative;
}

@keyframes spinning {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.slate-ssml-editor-container {
  display: flex;
  flex-direction: column;
}
.slate-ssml-editor-container .slate-ssml-editor {
  flex-grow: 1;
  position: relative;
  border: 1px solid transparent;
  outline: 0px solid transparent;
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  line-height: 24px;
  background: rgba(46, 50, 56, 0.05);
  border-radius: 6px;
  word-break: break-all;
}
.slate-ssml-editor-container .slate-ssml-editor.text-limit {
  padding-right: 52px;
}
.slate-ssml-editor-container .slate-ssml-editor-right-bottom-slot {
  position: absolute;
  bottom: 8px;
  right: 8px;
}
.slate-ssml-editor-container .slate-ssml-editor-text {
  color: #758191;
  font-size: 10px;
}
.slate-ssml-editor-container .top-tooltip {
  display: flex;
  justify-content: flex-start;
}
.slate-ssml-editor-container .top-button {
  display: flex;
  box-sizing: border-box;
  border-radius: 3px;
  width: 90px;
  height: 24px;
  padding: 0 4px;
  margin-right: 4px;
  background: rgba(46, 50, 56, 0.05);
  font-size: 12px;
  color: rgba(28, 31, 35, 0.7);
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.slate-ssml-editor-container .top-button .top-button-ico {
  margin-right: 4px;
}
.slate-ssml-editor-container .top-button.add-pause .top-button-ico {
  width: 20px;
  height: 20px;
  background-position: center;
  background-size: 20px;
  background-repeat: no-repeat;
  background-image: url();
}
.slate-ssml-editor-container .top-button.set-mute .top-button-ico {
  width: 20px;
  height: 20px;
  background-position: center;
  background-size: 20px;
  background-repeat: no-repeat;
  background-image: url();
}
.slate-ssml-editor-container .top-button.number-mark .top-button-ico {
  width: 20px;
  height: 20px;
  background-position: center;
  background-size: 20px;
  background-repeat: no-repeat;
  background-image: url();
}
.slate-ssml-editor-container
  .top-button.phoneme-mark
  .top-button-ico {
  width: 20px;
  height: 20px;
  background-position: center;
  background-size: 20px;
  background-repeat: no-repeat;
  background-image: url();
}
.slate-ssml-editor-container .top-button:hover {
  background: rgba(46, 50, 56, 0.09);
}
.slate-ssml-editor-container .top-button:active {
  background: rgba(46, 50, 56, 0.13);
}
.slate-ssml-editor-container .top-button.disabled {
  opacity: 0.5;
  cursor: default;
}
.slate-ssml-editor-container .top-button.disabled:hover {
  background: rgba(46, 50, 56, 0.05);
}
.slate-ssml-editor-container .top-button.disabled:active {
  background: rgba(46, 50, 56, 0.05);
}
.slate-ssml-editor-container .pause-element-wrapper {
  display: inline-flex;
  padding: 4px 0;
}
.slate-ssml-editor-container .pause-element-wrapper.selected {
  background: rgb(166, 210, 255);
}
.slate-ssml-editor-container .pause-element-wrapper .element-node {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  border-radius: 2px;
  height: 16px;
  padding: 0 4px;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  color: #ffffff;
  background: #009589;
}
.slate-ssml-editor-container
  .pause-element-wrapper
  .element-node:hover {
  background: #00776f;
}
.slate-ssml-editor-container
  .pause-element-wrapper
  .element-node:active {
  background: #005955;
}

.slate-ssml-editor-container .mute-element-wrapper {
  user-select: none;
  cursor: pointer;
}
.slate-ssml-editor-container
  .mute-element-wrapper
  .mute-element-text {
  display: inline-block;
  box-shadow: 0 -2px 0 0 #572fb3 inset;
}
.slate-ssml-editor-container
  .mute-element-wrapper
  .mute-element-text:first-child {
  margin-left: 2px;
}

.slate-ssml-editor-container
  .pause-element-wrapper
  .element-node:active {
  background: #005955;
}
.slate-ssml-editor-container .pause-element-wrapper .element-ico {
  width: 12px;
  height: 12px;
  background-position: center;
  background-size: 12px;
  background-repeat: no-repeat;
  background-image: url();
  margin-right: 2px;
}
.slate-ssml-editor-container .mute-element-wrapper {
  user-select: none;
  cursor: pointer;
}
.slate-ssml-editor-container
  .mute-element-wrapper
  .mute-element-text {
  display: inline-block;
  box-shadow: 0 -2px 0 0 #572fb3 inset;
}
.slate-ssml-editor-container
  .mute-element-wrapper
  .mute-element-text:first-child {
  margin-left: 2px;
}
.mute-element-tag {
  position: relative;
  top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 16px;
  border-radius: 2px;
  background: #572fb3;
  margin-right: 4px;
}

.mute-element-tag .element-ico {
  display: block;
  width: 14px;
  height: 14px;
  background-position: center;
  background-size: 14px;
  background-repeat: no-repeat;
  background-image: url();
}
.slate-ssml-editor-container
  .mute-element-wrapper:hover
  .mute-element-text {
  box-shadow: 0 -2px 0 0 #46259e inset;
}
.slate-ssml-editor-container
  .mute-element-wrapper:hover
  .mute-element-tag {
  background: #46259e;
}
.slate-ssml-editor-container
  .mute-element-wrapper:active
  .mute-element-text {
  box-shadow: 0 -2px 0 0 #361c8a inset;
}
.slate-ssml-editor-container
  .mute-element-wrapper:active
  .mute-element-tag {
  background: #361c8a;
}
.slate-ssml-editor-container
  .mute-element-wrapper.selected
  .mute-element-text {
  background: rgb(166, 210, 255);
}
.slate-ssml-editor-container .number-element-wrapper {
  user-select: none;
  cursor: pointer;
}
.slate-ssml-editor-container
  .number-element-wrapper
  .number-element-text {
  display: inline-block;
  box-shadow: 0 -2px 0 0 #d26700 inset;
}
.slate-ssml-editor-container
  .number-element-wrapper
  .number-element-text:first-child {
  margin-left: 2px;
}
.slate-ssml-editor-container
  .number-element-wrapper
  .number-element-text:last-child {
  margin-right: 2px;
}
.slate-ssml-editor-container
  .number-element-wrapper:hover
  .mute-element-text {
  box-shadow: 0 -2px 0 0 #a84a00 inset;
}
.slate-ssml-editor-container
  .number-element-wrapper:active
  .mute-element-text {
  box-shadow: 0 -2px 0 0 #7e3100 inset;
}
.slate-ssml-editor-container
  .number-element-wrapper.selected
  .number-element-text {
  background: rgb(166, 210, 255);
}
.slate-ssml-editor-container .phoneme-element-wrapper {
  user-select: none;
  cursor: pointer;
}
.slate-ssml-editor-container
  .phoneme-element-wrapper
  .phoneme-element-text {
  display: inline-block;
  box-shadow: 0 -2px 0 0 #d26700 inset;
}
.slate-ssml-editor-container
  .phoneme-element-wrapper
  .phoneme-element-text:first-child {
  margin-left: 2px;
}
.slate-ssml-editor-container
  .phoneme-element-wrapper
  .phoneme-element-text:last-child {
  margin-right: 2px;
}
.slate-ssml-editor-container
  .phoneme-element-wrapper:hover
  .phoneme-element-text {
  box-shadow: 0 -2px 0 0 #a84a00 inset;
}
.slate-ssml-editor-container
  .phoneme-element-wrapper:hover
  .phoneme-element-tag {
  background: #a84a00;
}
.slate-ssml-editor-container
  .phoneme-element-wrapper:active
  .phoneme-element-text {
  box-shadow: 0 -2px 0 0 #7e3100 inset;
}
.slate-ssml-editor-container
  .phoneme-element-wrapper:active
  .phoneme-element-tag {
  background: #7e3100;
}
.slate-ssml-editor-container
  .phoneme-element-wrapper.selected
  .phoneme-element-text {
  background: rgb(166, 210, 255);
}
.slate-ssml-editor-container
  .phoneme-element-wrapper
  .phoneme-element-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 16px;
  border-radius: 2px;
  margin-right: 4px;
  padding: 2px 4px 3px;
  background: #d26700;
  color: #ffffff;
}
.slate-ssml-editor-container .cus-slate-leaf {
  padding: 0 1px;
}

.slate-ssml-editor-container .element-disabled {
  cursor: default !important;
}
.slate-text-warning .slate-ssml-editor {
  background: #fef2ed;
  color: #e63f3f;
}
.slate-text-warning .slate-ssml-editor-text {
  color: #e63f3f;
}

/* shadow */
/* sizing */
/* spacing */
.semi-portal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}
.semi-portal-inner {
  position: absolute;
  background-color: white;
  min-width: max-content;
}
.semi-portal-inner {
  min-width: max-content;
}

/* shadow */
/* sizing */
/* spacing */
.semi-dropdown {
  font-size: 14px;
  line-height: 20px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei',
    'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.semi-dropdown-wrapper {
  box-shadow: var(--semi-shadow-elevated);
  position: relative;
  z-index: 1050;
  border-radius: var(--semi-border-radius-medium);
  background: var(--semi-color-bg-3);
  opacity: 0;
}
.semi-dropdown-wrapper-show {
  opacity: 1;
}
.semi-dropdown-trigger {
  display: inline-block;
}
.semi-dropdown-menu {
  list-style: none;
  padding: 4px 0;
  margin: 0;
}
.semi-dropdown-title {
  color: var(--semi-color-text-2);
  padding-top: 8px;
  padding-bottom: 4px;
  padding-left: 16px;
  padding-right: 16px;
  font-size: 12px;
  line-height: 16px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei',
    'Helvetica Neue', Helvetica, Arial, sans-serif;
  cursor: default;
}
.semi-dropdown-title-withTick {
  padding-left: 31px;
}
.semi-dropdown-item {
  padding: 8px 16px;
  color: var(--semi-color-text-0);
  max-width: 280px;
  display: flex;
  align-items: center;
  transition: background-color var(--semi-transition_duration-none)
    var(--semi-transition_function-easeOut) 0ms;
}
.semi-dropdown-item:not(.semi-dropdown-item-active):hover {
  background-color: var(--semi-color-fill-0);
  cursor: pointer;
}
.semi-dropdown-item:not(.semi-dropdown-item-active):active {
  background-color: var(--semi-color-fill-1);
}
.semi-dropdown-item:focus-visible {
  background-color: var(--semi-color-fill-0);
  outline: 0;
}
.semi-dropdown-item-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
}
.semi-dropdown-item-danger {
  color: var(--semi-color-danger);
}
.semi-dropdown-item-secondary {
  color: var(--semi-color-secondary);
}
.semi-dropdown-item-warning {
  color: var(--semi-color-warning);
}
.semi-dropdown-item-tertiary {
  color: var(--semi-color-tertiary);
}
.semi-dropdown-item-primary {
  color: var(--semi-color-primary);
}
.semi-dropdown-item-withTick {
  padding-left: 12px;
}
.semi-dropdown-item > .semi-icon {
  flex-shrink: 0;
  margin-right: 9px;
  font-size: 12px;
}
.semi-dropdown-item-active {
  font-weight: 600;
}
.semi-dropdown-item.semi-dropdown-item-disabled {
  color: var(--semi-color-disabled-text);
  cursor: not-allowed;
}
.semi-dropdown-item.semi-dropdown-item-disabled:hover,
.semi-dropdown-item.semi-dropdown-item-disabled:active {
  cursor: not-allowed;
  background-color: transparent;
}
.semi-dropdown-divider {
  display: block;
  height: 1px;
  width: 100%;
  min-width: 100%;
  clear: both;
  background: var(--semi-color-border);
  margin: 4px 0;
}

.semi-rtl .semi-dropdown-wrapper,
.semi-portal-rtl .semi-dropdown-wrapper {
  direction: rtl;
}
.semi-rtl .semi-dropdown-title-withTick,
.semi-portal-rtl .semi-dropdown-title-withTick {
  padding-left: 0;
  padding-right: 31px;
}
.semi-rtl .semi-dropdown-item-withTick,
.semi-portal-rtl .semi-dropdown-item-withTick {
  padding-left: auto;
  padding-right: 12px;
}
.semi-rtl .semi-dropdown-item > .semi-icon,
.semi-portal-rtl .semi-dropdown-item > .semi-icon {
  margin-right: 0;
  margin-left: 9px;
}

.slate-ssml-editor-container.tts-auto-split-container
  .slate-ssml-editor {
  padding-bottom: 42px;
  padding-right: 8px;
}
.slate-ssml-editor-container.tts-auto-split-container .top-tooltip {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 1;
}
.slate-ssml-editor-container.tts-auto-split-container
  .tts-auto-split-btn-wrapper {
  display: flex;
  align-items: center;
}
.slate-ssml-editor-container.tts-auto-split-container
  .tts-auto-split-btn-wrapper
  .tts-auto-split-btn {
  display: flex;
  align-items: center;
  margin-left: 8px;
  padding: 4px;
  border-radius: 3px;
  color: blue;
  cursor: pointer;
}

.slate-ssml-editor-container.tts-auto-split-container
  .tts-auto-split-btn-wrapper
  .tts-auto-split-btn:hover {
  background: rgb(234, 234, 234);
}
@keyframes spinning {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
